package demo2;

public class Test {
    public static void func(Ishapeable ishapeable){
        ishapeable.draw();
    }
    public static void main(String[] args) {
        func(new Cycle());
        func(new Rect());
    }
}
